/******************* (C) COPYRIGHT 2022 CHU WEI TENG ***********************************************
**
**------------------ File Info ---------------------------------------------------------------------
** File name:      dwin_adapt.c
** modified Date:  2022-05-10
** Last Version:   V1.0
** Descriptions: 
** 
**------------------ Modfication  log --------------------------------------------------------------
** Date       Who            Rev        Comments
----------------------------------------------------------------------------------------------------
   22/05/10  chuwt@qq.com    V1.00      created

****************************************************************************************************/
#include <stdlib.h>
#include "dwin_types_def.h"
#include "dwin_heap.h"

/* Private define----------------------------------------------------------------------------------*/

/* Private typedef---------------------------------------------------------------------------------*/

/* Private variables-------------------------------------------------------------------------------*/

/* public function---------------------------------------------------------------------------------*/

void* dwin_malloc(uint32_t size)
{
    return dwin_heap_malloc(size);
}

void dwin_free(void* ptr)
{
    return;
}

void* dwin_lock_create(void)
{
    return NULL;
}

ret_t dwin_lock_free(void* lock)
{
    return RET_OK;
}

ret_t dwin_lock(void* lock)
{
    return RET_OK;
}

ret_t dwin_unlock(void* lock)
{
    return RET_OK;
}

void dwin_delay(uint32_t delay)
{
    return;
}

uint16_t dwin_uart_recv(void * buf)
{
    return 0;
}

uint16_t dwin_uart_send(void * buf, uint16_t size)
{
    return size;
}









